package day9;

import java.util.Scanner;

public class t6 {
    public static void main(String[] args) {
        Scanner sc =new Scanner(System.in);
        System.out.print("请输入手机号：");
        String phoneNumber = sc.next();
        String pN=phoneNumber.substring(0,3)+"****"+phoneNumber.substring(7);
        System.out.print("加密后的手机号为:");
        System.out.println(pN);
    }
}
